package com.java.wzb.dao.impl;

import java.io.Serializable;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.java.common.pojo.Emp;
import com.java.wzb.dao.INewEmpDAO;

public class NewEmpDaoImpl extends HibernateDaoSupport implements INewEmpDAO {

	public boolean newEmp(Emp emp) {
		Serializable i = this.getHibernateTemplate().save(emp);
		System.out.println(i);
		return true;
	}
}
